import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { HttpModule } from '@angular/http';
import { FormsModule } from '@angular/forms';
import { RouterModule } from '@angular/router';

import { AppComponent } from './app.component';
import { AppRoutes } from './app.routes';

import { HttpService } from './service/http.service';
import { HttpRouterService } from './service/http-router.service';
import { StorageService } from './service/storage.service';
import { DownloadComponent } from './download/download.component';





@NgModule({
  declarations: [
    AppComponent,
    DownloadComponent
  ],
  imports: [
    BrowserModule,
    HttpModule,
    FormsModule,
    RouterModule.forRoot(AppRoutes,{useHash:true})
  ],
  providers: [
    HttpService,
    HttpRouterService,
    StorageService
  ],
  bootstrap: [AppComponent],

})
export class AppModule { }
